﻿
namespace viForum.Classes
{
    public class User
    {
        public User()
        {

        }

        public User(string userName, int postsCount)
        {
            _UserName = userName;
            _PostsCount = postsCount;
        }

        private string _UserName;
        /// <summary>
        /// The user name
        /// </summary>
        public string UserName
        {
            get { return _UserName; }
            set { _UserName = value; }
        }

        private int _PostsCount;
        /// <summary>
        /// The user added posts count in the forum
        /// </summary>
        public int PostsCount
        {
            get { return _PostsCount; }
            set { _PostsCount = value; }
        }
    }
}
